<?php

namespace app\common\model;

class Comment extends BaseModel
{
    protected $type = [
        'images' => 'array'
    ];

    public function user()
    {
        return $this->belongsTo(User::class);
    }
    
    public function groupOrder()
    {
        return $this->belongsTo(GroupOrder::class,"order_id");
    }
}